﻿<Controls:SinacorWindow x:Class="Sinacor.UI.Bovespa.Ordens.View.SmartClient.CasamentoPreBoleto"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="{DynamicResource Bovespa.Ordens.Label.Titulo.CasamentoPreBoleto}" Width="1024" WindowState="Normal" Height="734"
    xmlns:Local="clr-namespace:Sinacor.UI.Bovespa.Ordens.View.SmartClient"
    xmlns:Model="clr-namespace:Sinacor.UI.Bovespa.Ordens.Model;assembly=Sinacor.UI.Bovespa.Ordens.Model"
    xmlns:System="clr-namespace:System;assembly=mscorlib"
    xmlns:Controls="clr-namespace:Sinacor.Infra.UI.Controls.SmartClient;assembly=Sinacor.Infra.UI.Controls"
    xmlns:Validation="clr-namespace:Sinacor.Infra.UI.Controls.SmartClient.Validation;assembly=Sinacor.Infra.UI.Controls"
    xmlns:Edit="clr-namespace:Sinacor.Infra.UI.Controls.SmartClient.Edit;assembly=Sinacor.Infra.UI.Controls"
	ModuleId="ORD" ModulePlus="False">
  
  <Controls:SinacorExpanderContainer Name="ContainerCasamentoPreBoleto">
    
    <!--Definição de linhas no Container-->  
    <Grid.RowDefinitions>
      <RowDefinition Height="Auto" />
      <RowDefinition Height="*" MinHeight="250" />
      <RowDefinition Height="Auto" />
      <RowDefinition Height="*" MinHeight="180" />
    </Grid.RowDefinitions>
    
    <!--Grid de Filtros-->
    <Controls:SinacorExpander  Grid.Row="0" Name="ExpanderFiltro"  Header="{DynamicResource Bovespa.Ordens.Label.TituloExpOrdemTotais}">
      <Grid Name="gridFiltro" Margin="0,0,0,0">
        <Controls:SinacorLabel Content="{DynamicResource Bovespa.Ordens.Label.Ordem}" HorizontalAlignment="Left" Margin="0,0,0,0" VerticalAlignment="Top" Name="labelOdem" VerticalContentAlignment="Center" HorizontalContentAlignment="Right" Width="100"/>
        <Controls:SinacorInt64TextBox  Text="" Width="75" Margin="104,0,0,50" VerticalAlignment="Bottom" IsEnabled="False" Name="textOrdem" Focusable="True" IsTabStop="True" IsFormated="True"   Integers="9" HorizontalAlignment="Left"/>
        <Controls:SinacorLabel   Content="{DynamicResource Bovespa.Ordens.Label.Papel}" HorizontalAlignment="Left" Margin="428,0,0,0" VerticalAlignment="Top" Name="labelPapel" VerticalContentAlignment="Center" HorizontalContentAlignment="Right" Width="30"/>
        <Controls:SinacorTextBox  Text="" IsEnabled="False" Margin="462,0,0,0" VerticalAlignment="Top" Name="textPapel" Width="106" HorizontalAlignment="Left" MaxLength="12" />
        <Controls:SinacorLabel   Content="{DynamicResource Bovespa.Ordens.Label.Apelido}" HorizontalAlignment="Left" Margin="227,0,0,0" VerticalAlignment="Top" Name="labelApelido"  VerticalContentAlignment="Center" HorizontalContentAlignment="Right" Width="42"/>
        <Controls:SinacorTextBox  Text="" IsEnabled="False" HorizontalAlignment="Left" Margin="274,0,0,0" VerticalAlignment="Top" Width="150" Name="textApelido"  MaxLength="18"  Focusable="True" IsTabStop="True" />
        <Controls:SinacorLabel   Content="{DynamicResource Bovespa.Ordens.Label.QtdDigitada}" VerticalAlignment="Top" Margin="572,0,0,0" Name="labelDigitada" HorizontalAlignment="Left" VerticalContentAlignment="Center" HorizontalContentAlignment="Right" Width="72"/>
        <Controls:SinacorDecimalTextBox Text="" Margin="648,0,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Width="82" Name="textQtdeDigitada" IsEnabled="False"  Integers="16" Decimals="4"  IsFormated="True" />
        <Controls:SinacorLabel   Content="{DynamicResource Bovespa.Ordens.Label.PrecoMedio}" Margin="0,25,0,0" VerticalAlignment="Top" Name="labelMedio"  HorizontalAlignment="Left" VerticalContentAlignment="Center" HorizontalContentAlignment="Right" Width="100"/>
        <Controls:SinacorDecimalTextBox Text="" IsEnabled="False" Margin="104,25,0,0" VerticalAlignment="Top" Name="textPrecoMedio"  HorizontalAlignment="Left" Width="120" Focusable="True" IsTabStop="True"  Integers="11" Decimals="8"/>
        <Controls:SinacorLabel   Content="{DynamicResource Bovespa.Ordens.Label.QtdOrdem}" Margin="734,0,0,0" VerticalAlignment="Top" Name="labelOrdem" HorizontalAlignment="Left" VerticalContentAlignment="Center" HorizontalContentAlignment="Right" Width="64"/>
        <Controls:SinacorDecimalTextBox Text="" Margin="802,0,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Width="83" Name="textQtdeOrdem" IsEnabled="False"  Integers="16" Decimals="4"  IsFormated="True" />
        <Controls:SinacorLabel   Content="{DynamicResource Bovespa.Ordens.Label.Volume}" Margin="228,25,0,0" Name="labelVolume" HorizontalAlignment="Left" VerticalAlignment="Top" VerticalContentAlignment="Center" HorizontalContentAlignment="Right" Width="42"/>
        <Controls:SinacorDecimalTextBox Text="" IsEnabled="False" Margin="274,25,0,0" Name="textVolume"  HorizontalAlignment="Left" Width="83" VerticalAlignment="Top"  Integers="11" Decimals="2"  IsFormated="True"/>
        <Controls:SinacorLabel   Content="{DynamicResource Bovespa.Ordens.Label.MedioCambio}" Margin="569,25,0,0"  HorizontalAlignment="Left" Name="labelCambio" VerticalAlignment="Top" VerticalContentAlignment="Center" HorizontalContentAlignment="Right" Width="75"/>
        <Controls:SinacorDecimalTextBox Text="" IsEnabled="False" Margin="648,25,0,0" Name="textMediaCambio" HorizontalAlignment="Left" Width="83"  VerticalAlignment="Top"  Integers="11" Decimals="6"  IsFormated="True"/>
        <Controls:SinacorLabel   Content="{DynamicResource Bovespa.Ordens.Label.VolumeCambio}" HorizontalAlignment="Left" Margin="391,25,0,0" Name="labelVolumeCambio"  VerticalAlignment="Top" VerticalContentAlignment="Center" HorizontalContentAlignment="Right" Width="67"/>
        <Controls:SinacorDecimalTextBox Text="" Width="83" IsEnabled="False" HorizontalAlignment="Left" Margin="462,25,0,0" Name="textVolumeCambio"  VerticalAlignment="Top"  Integers="17" Decimals="2"  IsFormated="True"/>
        <Controls:SinacorLabel   Content="{DynamicResource Bovespa.Ordens.Label.QtdSaldo}" Margin="734,25,0,0" VerticalAlignment="Top"  Name="labelQuantidadeSaldo" HorizontalAlignment="Left" Width="64" VerticalContentAlignment="Center" HorizontalContentAlignment="Right"/>
        <Controls:SinacorDecimalTextBox Text="" IsEnabled="False" Margin="802,25,0,0" VerticalAlignment="Top" Name="textQtdeSaldo"  HorizontalAlignment="Left" Width="83"   Integers="16" Decimals="4"  IsFormated="True"/>
        <Controls:SinacorDecimalTextBox Text="" Width="120" IsEnabled="False" HorizontalAlignment="Left" Margin="104,50,0,0" VerticalAlignment="Top" Name="textQtdeTitulosAnexo5"  Focusable="True" IsTabStop="True"  Integers="16" Decimals="4" IsFormated="True"/>
        <Controls:SinacorLabel   Content="{DynamicResource Bovespa.Ordens.Label.QtdADRAnexoV}" HorizontalAlignment="Left" Margin="0,50,0,0" VerticalAlignment="Top" Name="labelAnexo"  VerticalContentAlignment="Center" HorizontalContentAlignment="Right" Width="100"/>
        <Controls:SinacorCheckBox  Margin="228,50,0,0" VerticalAlignment="Top" Content="{DynamicResource Bovespa.Ordens.Label.DesprezaSaldo}" Name="checkDesprezaSald"  HorizontalAlignment="Left" TabIndex="1" Width="110"/>
        <Controls:SinacorCheckBox Margin="342,50,0,0" VerticalAlignment="Top" Content="{DynamicResource Bovespa.Ordens.Label.Analitico}" Name="checkAnalitico"    HorizontalAlignment="Left" TabIndex="2" Width="80" Click="checkAnalitico_Click" />
        <Controls:SinacorInt64TextBox Text="" IsEnabled="False" Margin="183,0,0,0" VerticalAlignment="Top" Width="41" Name="textOrdemDigito" Focusable="True" IsTabStop="True"  Integers="5" IsFormated="True" HorizontalAlignment="Left" />
        <Controls:SinacorButton Margin="426,50,0,0" VerticalAlignment="Top" Width="60" Content="{DynamicResource Bovespa.Ordens.Label.Casar}" HorizontalAlignment="Left" Name="buttonCasar" Click="buttonCasar_Click"/>
        
        <!--Group box de Compra/Venda-->
        <Controls:SinacorGroupBox VerticalAlignment="Top" Header="{DynamicResource Bovespa.Ordens.Label.GroupRadioNatureza}" HorizontalAlignment="Left" Width="80" Margin="889,0,0,0" Height="70">
          <Grid HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,0,0,0">
            <Controls:SinacorRadioButton Content="{DynamicResource Bovespa.Ordens.Label.RadioCompra}"  Name="radioCOmpraCadastro"  HorizontalAlignment="Left" VerticalAlignment="Top"/>
            <Controls:SinacorRadioButton Content="{DynamicResource Bovespa.Ordens.Label.RadioVenda}"  Name="radioVendaCadastro"  VerticalAlignment="Top" HorizontalAlignment="Left" Margin="0,25,0,0"/>
          </Grid>
        </Controls:SinacorGroupBox>
      
      </Grid>
    </Controls:SinacorExpander>
    
    <!--Grid Pré Boletos-->
    <Controls:SinacorExpander Grid.Row="1" Name="ExpanderPreBoleto"  Header="{DynamicResource Bovespa.Ordens.Label.TituloExpPreBoleto}" HorizontalSplitter="{Binding ElementName=horizontalSpliter2}">
      <Grid>
        <Grid.RowDefinitions>
          <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        
        <Controls:SinacorDataGrid Name="dataPreBoleto"
                                  ItemsSource="{Binding ModelCasamentoPreBoleto}"
                                  AllowDelete="True"
                                  BeingInserted="dataPreBoleto_BeingInserted"
                                  BeingUpdated="dataPreBoleto_BeingUpdated"
                                  InsertBegun="dataPreBoleto_InsertBegun"
                                  UpdateBegun="dataPreBoleto_EditBegun"
                                  EndingInsert="dataPreBoleto_EndingInsert"
                                  EndingUpdate="dataPreBoleto_EndingEdit"
                                  Saving="dataPreBoleto_Saving"
                                  SavingAll="dataPreBoleto_SavingAll"
                                  UndidAll="dataPreBoleto_UndidAll"
                                  Undid="dataPreBoleto_Undid"                                  
                                  InsertEnded="dataPreBoleto_InsertEnded"
                                  UpdateEnded="dataPreBoleto_UpdateEnded"
                                  Deleting="dataPreBoleto_Deleting"
                                  Deleted="dataPreBoleto_Deleted"          
                                  ApplyingStyle="dataPreBoleto_ApplyingStyle">
        <!--Menu de Contexto-->
        <Controls:SinacorDataGrid.ContextMenuTemplate>
          <DataTemplate>
            <StackPanel>
              <Controls:SinacorContextMenuItem Header="{DynamicResource Infra.Controls.Label.IrParaAnterior}" Command="Controls:SelectionCommands.SelectPreviousItem" CommandTarget="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Controls:SinacorDataGrid}}}" />
              <Controls:SinacorContextMenuItem Header="{DynamicResource Infra.Controls.Label.IrParaProximo}" Command="Controls:SelectionCommands.SelectNextItem" CommandTarget="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Controls:SinacorDataGrid}}}" />
            </StackPanel>
          </DataTemplate>
        </Controls:SinacorDataGrid.ContextMenuTemplate>
        
        <!--Colunas do DataGrid-->
        <Controls:SinacorDataGrid.Columns>
          <Controls:Column Name="QuantidadeNegocio"
                       DisplayMemberPath="QuantidadeNegocio"
                       Title="Bovespa.Ordens.Label.QtdNegocio"
                       IsRequired="True"
                       AllowInsert="True"                       
                       AllowUpdate="False"
                       Decimals="4"
                       Integers="12"
                       StringFormat="n4"  HorizontalCellAlignment="Right" FocusManager.IsFocusScope="True">
            
            <Controls:Column.CellInsertTemplate>
              <DataTemplate>
                <Controls:SinacorDecimalTextBox Value="{Binding QuantidadeNegocio}"
                                                Integers="12"
                                                Decimals="4"
                                                IsRequired="True" HorizontalContentAlignment="Right" Name="txtQdteNegocio" >
                  
                </Controls:SinacorDecimalTextBox>
              </DataTemplate>
            </Controls:Column.CellInsertTemplate>
            <Controls:Column.CellUpdateTemplate>
              <DataTemplate>
                <Controls:SinacorDecimalTextBox Value="{Binding QuantidadeNegocio}"
                                                Integers="12"
                                                Decimals="4"
                                                IsRequired="True"  LostFocus="SinacorDecimalTextBox_LostFocus" HorizontalContentAlignment="Right" Name="txtQdteNegocio">
                  
                </Controls:SinacorDecimalTextBox>
              </DataTemplate>
            </Controls:Column.CellUpdateTemplate>
            
          </Controls:Column>
          
          <Controls:Column Name="Preco"
                           DisplayMemberPath="Preco"
                           Title="Bovespa.Ordens.Label.Preco"
                           IsRequired="True"
                           StringFormat="n8"
                           AllowInsert="True"
                           AllowUpdate="False"
                           CellInsertTemplate="{Binding CellUpdateTemplate, RelativeSource={RelativeSource Self}}"
                           Integers="11"
                           Decimals="8" HorizontalCellAlignment="Right">
            
            <Controls:Column.CellUpdateTemplate>
              <DataTemplate>
                <Controls:SinacorDecimalTextBox Value="{Binding Preco}"
                                                Integers="11"
                                                Decimals="8"
                                                IsRequired="True"  LostFocus="SinacorDecimalTextBox_LostFocus" HorizontalContentAlignment="Right">
                  
                </Controls:SinacorDecimalTextBox>
              </DataTemplate>
            </Controls:Column.CellUpdateTemplate>
          </Controls:Column>
          
          <Controls:Column Name="ContraParte"
                           DisplayMemberPath="ContraParte"
                           Title="Bovespa.Ordens.Label.CParte"
                           IsRequired="False"
                           AllowInsert="True"
                           AllowUpdate="False"
                           CellInsertTemplate="{Binding CellUpdateTemplate, RelativeSource={RelativeSource Self}}"  HorizontalCellAlignment="Right">
            <Controls:Column.CellUpdateTemplate>
              <DataTemplate>
                <Controls:SinacorInt32TextBox Value="{Binding ContraParte}"
                                              Integers="8" IsFormated="False"
                                              IsRequired="False"  HorizontalContentAlignment="Right">
                  
                </Controls:SinacorInt32TextBox>
              </DataTemplate>
            </Controls:Column.CellUpdateTemplate>
          </Controls:Column>
          
          <Controls:Column Name="TipoCasamento"
                           DisplayMemberPath="TipoCasamento"
                           Title="Bovespa.Ordens.Label.TipoCasamento"
                           IsRequired="False"
                           AllowInsert="True"
                           AllowUpdate="True" />
          
          <Controls:Column Name="QuantidadeCasada"
                           DisplayMemberPath="QuantidadeCasada"
                           Title="Bovespa.Ordens.Label.QtdCasada"                               
                           IsRequired="True"
                           AllowInsert="False"
                           AllowUpdate="False"
                           CellInsertTemplate="{Binding CellUpdateTemplate, RelativeSource={RelativeSource Self}}"
                           Integers="16"
                           Decimals="8" StringFormat="n8"  HorizontalCellAlignment="Right">
            <Controls:Column.CellUpdateTemplate>
              <DataTemplate>
                <Controls:SinacorDecimalTextBox Value="{Binding QuantidadeCasada}"
                                                Integers="16"
                                                Decimals="4"
                                                IsRequired="True"  HorizontalContentAlignment="Right">
                                  </Controls:SinacorDecimalTextBox>
              </DataTemplate>
            </Controls:Column.CellUpdateTemplate>
          </Controls:Column>
          
          <Controls:Column Name="TipoEstrategia" 
                           Title="Bovespa.Ordens.Label.BoxDpxPop"
                           DisplayMemberPath="TipoEstrategia"
                           AllowUpdate="True"
                           AllowInsert="True"
                           CellInsertTemplate="{Binding CellUpdateTemplate, RelativeSource={RelativeSource Self}}">
            <Controls:Column.CellUpdateTemplate>
              <DataTemplate>
                <Controls:SinacorComboBox Name="cmbEnumsTipoEstrategia"
                                          ItemsSource="{Binding _presenter.EnumsTipoEstrategia, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Controls:SinacorWindow}}}"/>
              </DataTemplate>
            </Controls:Column.CellUpdateTemplate>
          </Controls:Column>
          
          <Controls:Column Name="Cambio"
                           DisplayMemberPath="Cambio"
                           Title="Bovespa.Ordens.Label.Cambio"
                           IsRequired="False"
                           AllowInsert="True"
                           AllowUpdate="True"
                           CellInsertTemplate="{Binding CellUpdateTemplate, RelativeSource={RelativeSource Self}}"
                           Integers="4"
                           Decimals="6" StringFormat="n6"  HorizontalCellAlignment="Right">
            
            <Controls:Column.CellUpdateTemplate>
              <DataTemplate>
                <Controls:SinacorDecimalTextBox Value="{Binding Cambio}"
                                                Integers="4"
                                                Decimals="6"
                                                IsRequired="False"  LostFocus="SinacorDecimalTextBox_LostFocus"  HorizontalContentAlignment="Right">
                  
                </Controls:SinacorDecimalTextBox>
              </DataTemplate>
            </Controls:Column.CellUpdateTemplate>
          
          </Controls:Column>
          
          <Controls:Column Name="Volume"
                           DisplayMemberPath="Volume"
                           Title="Bovespa.Ordens.Label.Volume"
                           AllowInsert="True"
                           AllowUpdate="True"
                           CellInsertTemplate="{Binding CellUpdateTemplate, RelativeSource={RelativeSource Self}}"
                           Integers="11"
                           Decimals="2" StringFormat="n2"  HorizontalCellAlignment="Right">
           
            <Controls:Column.CellUpdateTemplate>
              <DataTemplate>
                <Controls:SinacorDecimalTextBox Value="{Binding Volume}"
                                                Integers="11"
                                                Decimals="2"
                                                IsRequired="False" Name="txtVolume" IsEnabled="False"  HorizontalContentAlignment="Right">
                  
                </Controls:SinacorDecimalTextBox>
              </DataTemplate>
            </Controls:Column.CellUpdateTemplate>
          </Controls:Column>
          
        </Controls:SinacorDataGrid.Columns>
      </Controls:SinacorDataGrid>
      </Grid>
    </Controls:SinacorExpander>
    
    <!--Grid Splitter-->
    <Controls:SinacorHorizontalGridSplitter Name="horizontalSpliter2" Grid.Row="2" />
  
    <!--Grid de Negocios-->
    <Controls:SinacorExpander  Grid.Row="3" Name="ExpanderNegocio" Header="{DynamicResource Bovespa.Ordens.Label.TituloExpNegocio}" >
      <Grid>
        <Grid.RowDefinitions>
          <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        <Controls:SinacorDataGrid Name="dataNegocio"
                                  ItemsSource="{Binding ModelNegociosParaCasar}"
                                  AllowDelete="True"
                                  BeingInserted="dataNegocio_BeingInserted"
                                  BeingUpdated="dataNegocio_BeingUpdated"
                                  UpdateBegun="dataNegocio_EditBegun"
                                  EndingInsert="dataNegocio_EndingInsert"
                                  EndingUpdate="dataNegocio_EndingEdit"
                                  Saving="dataNegocio_Saving"
                                  SavingAll="dataNegocio_SavingAll"
                                  UndidAll="dataNegocio_UndidAll"
                                  MouseDoubleClick="dataNegocio_MouseDoubleClick">
          <!--Menu de Contexto-->
          <Controls:SinacorDataGrid.ContextMenuTemplate>
            <DataTemplate>
              <StackPanel>
                <Controls:SinacorContextMenuItem Header="{DynamicResource Infra.Controls.Label.IrParaAnterior}" Command="Controls:SelectionCommands.SelectPreviousItem" CommandTarget="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Controls:SinacorDataGrid}}}" />
                <Controls:SinacorContextMenuItem Header="{DynamicResource Infra.Controls.Label.IrParaProximo}" Command="Controls:SelectionCommands.SelectNextItem" CommandTarget="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Controls:SinacorDataGrid}}}" />
              </StackPanel>
            </DataTemplate>
          </Controls:SinacorDataGrid.ContextMenuTemplate>

          <!--Colunas da Grid-->
          <Controls:SinacorDataGrid.Columns>
            <Controls:Column Name="DataPregao" DisplayMemberPath="DataPregao" Title="Bovespa.Ordens.Label.DataPregao"   HorizontalCellAlignment="Center" />
            <Controls:Column Name="NumeroNegocio" DisplayMemberPath="NumeroNegocio" Title="Bovespa.Ordens.Label.NumeroNegocio" Integers="9"  Decimals="0"   HorizontalCellAlignment="Right" />
            <Controls:Column Name="TipoMercado" DisplayMemberPath="TipoMercado" Title="Bovespa.Ordens.Label.Tipo" />
            <Controls:Column Name="CodigoNegociacao" DisplayMemberPath="CodigoNegociacao" Title="Bovespa.Ordens.Label.Papel" />
            <Controls:Column Name="TipoNaturezaOperacao"  DisplayMemberPath="TipoNaturezaOperacao" Title="Bovespa.Ordens.Label.CV" />
            <Controls:Column Name="Quantidade" DisplayMemberPath="Quantidade" Title="Bovespa.Ordens.Label.Quantidade" Decimals="4" Integers="16" StringFormat="n4"   HorizontalCellAlignment="Right" />
            <Controls:Column Name="Saldo" DisplayMemberPath="Saldo" Title="Bovespa.Ordens.Label.Saldo" Decimals="4" Integers="16"  StringFormat="n4"   HorizontalCellAlignment="Right"/>
            <Controls:Column Name="Preco" DisplayMemberPath="Preco" Title="Bovespa.Ordens.Label.Preco" Decimals="8" Integers="11"  StringFormat="n8"   HorizontalCellAlignment="Right"  />
            <Controls:Column Name="Bolsa" DisplayMemberPath="Bolsa" Title="Bovespa.Ordens.Label.Bolsa"   HorizontalCellAlignment="Left" />
            <Controls:Column Name="ContraParte" DisplayMemberPath="ContraParte" Title="Bovespa.Ordens.Label.CParte"   HorizontalCellAlignment="Right" />
            <Controls:Column Name="LoginOperador" DisplayMemberPath="LoginOperador" Title="Bovespa.Ordens.Label.Operador" />
            <Controls:Column Name="TipoCasamento" DisplayMemberPath="TipoCasamento" Title="Bovespa.Ordens.Label.TipoCasamento" />
            <Controls:Column Name="TipoEstrategia" DisplayMemberPath="TipoEstrategia" Title="Bovespa.Ordens.Label.Estrategia" Visible="{Binding Path=IsChecked, ElementName=checkAnalitico, Mode=Default}"/>
          </Controls:SinacorDataGrid.Columns>

        </Controls:SinacorDataGrid>
      </Grid>
    </Controls:SinacorExpander>
    
  </Controls:SinacorExpanderContainer>
  
</Controls:SinacorWindow>
